package com.xuzao.developer.service;

import com.xuzao.developer.tools.entity.Pager;
import com.xuzao.developer.vo.BaseResultVo;
import com.xuzao.developer.vo.SysUserVO;
import com.xuzao.developer.dto.SysUserDTO;

import java.util.List;


/**
 * @description 
 * @author xuzao
 * @date 2019-08-22 11:37:49
 **/
public interface SysUserService {


	/**
	 * 列表
	 * 
	 * @param dto
	 * @return
	 **/
	List<SysUserVO> list(SysUserDTO dto, Pager pager);

	/**
	 * 新增
	 *
	 * @param dto
	 * @return
	 **/
	BaseResultVo insert(SysUserDTO dto);

	/**
	 * 修改
	 *
	 * @param dto
	 * @return
	 **/
	BaseResultVo update(SysUserDTO dto);

	/**
	 * 获取
	 * 
	 * @param id
	 * @return
	 **/
	SysUserVO get(Long id);

	void del(Long id);
}